
<?php foreach ($output['tickets'] as $ticket): ?>
<li>
    <div class="commodity-img">
        <a href="index.php?act=ticket&op=detail&tid=<?php echo $ticket['tk_id']; ?>"><img src="<?php echo $ticket['tk_thumb']; ?>" /></a>
    </div>
    <div class="commodity-con">
        <div class="commodity-title"><a href="index.php?act=ticket&op=detail&tid=<?php echo $ticket['tk_id']; ?>"><?php echo $ticket['tk_title']; ?></a></div>
        <?php if (in_array($ticket['tk_cate2'], array(7,8,10))): ?>
            <div class="commodity-inf"><p><?php echo $ticket['tk_subtitle']; ?></p></div>
        <?php else: ?>
            <div class="commodity-price"><b><samp>¥</samp><?php echo $ticket['tk_show_price']; ?></b><del>¥<?php echo $ticket['tk_market_price']; ?></del></div>
        <?php endif; ?>
    </div>
    <div class="clear"></div>
</li>
<?php endforeach; ?>
